using UnityEngine;

public class RandomDestroy : MonoBehaviour
{
	public float chance;

	private void Awake()
	{
		if (chance > Random.Range(0f, 1f))
		{
			Object.Destroy(base.gameObject);
		}
	}
}
